package cn.tedu.egmvc4.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum StatusCode {
    OPERATION_SUCCESS(5000,"操作成功"),
    OPERATION_FAILED(6000,"操作失败"),
    THROWABLE_ERROR(9999,"未知异常");
    private Integer state;
    private String message;
}
